package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

/**
 * @author AXiang
 * @create 2023/10/22 16:43
 **/
public interface DishService {
    void saveWithFlavors(DishDTO dishDTO);

    PageResult dishQuery(DishPageQueryDTO dishPageQueryDTO);

    void dishBatch(List<Long> ids);

    DishVO getByIdWithFlavor(Long id);

    void updateDishWithFlavor(DishDTO dishDTO);

    List<Dish> list(Long categoryId);

    void starOrStop(Integer status, Long id);

    List<DishVO> listWithFlavor(Dish dish);

//    List<DishVO> listWithFlavor(Dish dish);
}
